import request from '@/utils/request'
import { BaseResponse } from '../base'

export function getCategoryList(): Promise<BaseResponse> {
  return request({ url: '/campus/category/list', method: 'get' })
}

export function tree(): Promise<BaseResponse> {
  return request({ url: '/campus/category/tree', method: 'get' })
}